import {request} from '@/utils/request.js'
import {appConfig} from '@/config/config.js'

export function getCategoryLeft() {
	return request.get(appConfig.WEB_API + '/category/selectLeft')
}


export function getCategoryRight(categoryId) {
	return request.get(appConfig.WEB_API + '/category/selectRight/' + categoryId)
}

export function getTreeselect() {
	return request.get(appConfig.WEB_API + '/category/treeselect')
}
